package com.sky.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sky.dto.CategoryDTO;
import com.sky.dto.CategoryPageQueryDTO;
import com.sky.entity.Category;
import com.sky.result.PageResult;

import java.util.List;

public interface CategoryService extends IService<Category> {
    public PageResult getByPage(CategoryPageQueryDTO categoryPageQueryDTO);
    public void addDishCategory(CategoryDTO categoryDTO);
    public void updateCategoryStatus(Integer status,Long id);
    public void modifyCategory(CategoryDTO categoryDTO);
    public void deleteById(Long id);
    public List<Category> getCategoryListByType(Integer type);

    public List<Category> getCategoryList(Integer[] type);
}
